From 2164c3dba7838a576480aaecc06052db616ab497 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Wed, 8 May 2019 17:02:14 +0200 Subject: [PATCH] cellrendererpixbuf: Remove an unused local variable --- gtk/gtkcellrendererpixbuf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 25b7ad4c21..f30ccccf97 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -497,7 +497,6 @@ gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, GtkCellRendererPixbufPrivate *priv = cellpixbuf->priv; GtkStyleContext *context; GdkRectangle pix_rect; - GdkRectangle draw_rect; gboolean is_expander; gint xpad, ypad; GtkIconHelper *icon_helper; @@ -515,7 +514,7 @@ gtk_cell_renderer_pixbuf_snapshot (GtkCellRenderer *cell, pix_rect.width -= xpad * 2; pix_rect.height -= ypad * 2; - if (!gdk_rectangle_intersect (cell_area, &pix_rect, &draw_rect)) + if (!gdk_rectangle_intersect (cell_area, &pix_rect, NULL)) return; context = gtk_widget_get_style_context (widget); -- 2.30.2